package com.zxb.base.generator.config;

import java.util.Arrays;
import java.util.List;

/**
 * @author Zxb
 */
public class EngineConstant {
    public static final String ID = "id";
    public static final String CREATE_TIME = "create_time";
    public static final String CREATE_BY = "create_by";
    public static final String UPDATE_TIME = "update_time";
    public static final String UPDATE_BY = "update_by";
    public static final String VER = "ver";
    public static final String IS_DEL = "is_del";
    public static final String SEARCH_STR = "search_str";

    public static final String NAME = "name";
    public static final String CODE = "code";
    public static final String PID = "pid";
    public static final String LAYER = "layer";
    public static final String ID_LINK = "id_link";
    public static final String NAME_LINK = "name_link";

    public static final List<String> PUB_COLUMNS = Arrays.asList(ID, CREATE_TIME, CREATE_BY, UPDATE_TIME, UPDATE_BY, VER, IS_DEL, SEARCH_STR);
    public static final List<String> TREE_COLUMNS = Arrays.asList(NAME, CODE, PID, LAYER, ID_LINK, NAME_LINK);
}
